Optimal. Leaf size=39 \[ -2 \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {1-a^2 x^2}}{\sqrt {c-a c x}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.069, Rules used = {889, 214}
\begin {gather*} -2 \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {1-a^2 x^2}}{\sqrt {c-a c x}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 214
Rule 889
Rubi steps
\begin {align*} \int \frac {\sqrt {c-a c x}}{x \sqrt {1-a^2 x^2}} \, dx &=\left (2 a^2 c^2\right ) \text {Subst}\left (\int \frac {1}{-a^2 c+a^2 c^2 x^2} \, dx,x,\frac {\sqrt {1-a^2 x^2}}{\sqrt {c-a c x}}\right )\\ &=-2 \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {c} \sqrt {1-a^2 x^2}}{\sqrt {c-a c x}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.22, size = 47, normalized size = 1.21 \begin {gather*} -\frac {2 \sqrt {c-a c x} \tan ^{-1}\left (\frac {\sqrt {-1+a x}}{\sqrt {1-a^2 x^2}}\right )}{\sqrt {-1+a x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.07, size = 58, normalized size = 1.49
method | result | size |
default | \(\frac {2 \sqrt {-c \left (a x -1\right )}\, \sqrt {-a^{2} x^{2}+1}\, \sqrt {c}\, \arctanh \left (\frac {\sqrt {c \left (a x +1\right )}}{\sqrt {c}}\right )}{\left (a x -1\right ) \sqrt {c \left (a x +1\right )}}\) | \(58\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 2.39, size = 110, normalized size = 2.82 \begin {gather*} \left [\sqrt {c} \log \left (-\frac {a^{2} c x^{2} + a c x + 2 \, \sqrt {-a^{2} x^{2} + 1} \sqrt {-a c x + c} \sqrt {c} - 2 \, c}{a x^{2} - x}\right ), -2 \, \sqrt {-c} \arctan \left (\frac {\sqrt {-a^{2} x^{2} + 1} \sqrt {-a c x + c} \sqrt {-c}}{a^{2} c x^{2} - c}\right )\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {- c \left (a x - 1\right )}}{x \sqrt {- \left (a x - 1\right ) \left (a x + 1\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.38, size = 57, normalized size = 1.46 \begin {gather*} -\frac {2 \, c^{3} {\left (\frac {\arctan \left (\frac {\sqrt {2} \sqrt {c}}{\sqrt {-c}}\right )}{\sqrt {-c} c} - \frac {\arctan \left (\frac {\sqrt {a c x + c}}{\sqrt {-c}}\right )}{\sqrt {-c} c}\right )}}{{\left | c \right |}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.03 \begin {gather*} \int \frac {\sqrt {c-a\,c\,x}}{x\,\sqrt {1-a^2\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________